<!DOCTYPE html>
<style>
.box {
  height: 100px;
  width: 100px;
  background-color: blue;
}

#box {
  transform: rotate(90deg) translate(100px, 0);
}
</style>
<div class="box" id="box"></div>
